package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 代驾服务时段表 drivingcartime
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Drivingcartime extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 代驾服务时段ID */
	@Excel(name = "代驾服务时段ID")
	private Integer drivingcartimeId;
	/** 代驾服务ID */
	private Integer drivingCarId;
	/** 服务时段开始 */
	@Excel(name = "服务时段开始")
	private String stratContext;
	/** 服务时段结束 */
	@Excel(name = "服务时段结束")
	private String endContext;
	/** 价格 */
	@Excel(name = "价格")
	private Double price;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "备注")
	private String attribute;

	public void setDrivingcartimeId(Integer drivingcartimeId) 
	{
		this.drivingcartimeId = drivingcartimeId;
	}

	public Integer getDrivingcartimeId() 
	{
		return drivingcartimeId;
	}
	public void setDrivingCarId(Integer drivingCarId) 
	{
		this.drivingCarId = drivingCarId;
	}

	public Integer getDrivingCarId() 
	{
		return drivingCarId;
	}
	public void setStratContext(String stratContext) 
	{
		this.stratContext = stratContext;
	}

	public String getStratContext() 
	{
		return stratContext;
	}
	public void setEndContext(String endContext) 
	{
		this.endContext = endContext;
	}

	public String getEndContext() 
	{
		return endContext;
	}
	public void setPrice(Double price) 
	{
		this.price = price;
	}

	public Double getPrice() 
	{
		return price;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drivingcartimeId", getDrivingcartimeId())
            .append("drivingCarId", getDrivingCarId())
            .append("stratContext", getStratContext())
            .append("endContext", getEndContext())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
